home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96b.txt / 000058_icon-group-sender _Mon Nov 25 21:28:35 1996.msg < prev    next >
Internet Message Format  |  1997-01-02  |  1KB

  1. Received: by cheltenham.cs.arizona.edu; Tue, 26 Nov 1996 08:57:50 MST
  2. Message-Id: <9611260528.AA04423@mail1.halcyon.com>
  3. To: icon-group@cs.arizona.edu
  4. Priority: Normal
  5. X-Mailer: Post Road Mailer (Green Edition Rel 2.0.14)
  6. Date: Mon, 25 Nov 1996 21:28:35 PST
  7. From: Wendell Turner <wturner@halcyon.com>
  8. Reply-To: wturner@halcyon.com
  9. Subject: Graphics ops without a window?
  10. Errors-To: icon-group-errors@cs.arizona.edu
  11.  
  12.  
  13. Anyone, 
  14.  
  15. I have an Icon graphics program that creates an image.  I then call 
  16. WriteImage to create a xxx.gif picture of the image.  All of this works as 
  17. desired. 
  18.  
  19. Q:  Is there a way of running this as a cgi-bin script, in which case there 
  20. would be no window to do the "open( "window", "x") to?  Is there a way to do 
  21. something like: 
  22.  
  23.         setenv DISPLAY /dev/null 
  24.         icon_image_program 
  25.  
  26. All I want to do is create a xxx.gif image, and use Icon if at all possible. 
  27.  
  28. Wendell 
  29.  
  30.  
  31. P.S.  I've been able to use Icon in my sideline work creating web pages. 
  32. Soon there will be about 160,000 web pages at the Library of Congress 
  33. dynamically generated by an Icon program. 
  34.  
  35. P.P.S.  Would the ipl folks be interested in an options-like procedure that 
  36. will accept *either* command line options, or options from "method=get" or 
  37. options from "method=post"? I use one in the LoC programs, and it makes 
  38. debugging somewhat easier, since the same program can be run from the 
  39. command line, or as a cgi-bin program. 
  40.  
  41.  
  42.  
  43.  
  44.